package com.infore.remoteControl.remoteService;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.infore.remoteControl.util.ResultEntity;

/**
 * 站点管理服务远程接口
 * @author Cold
 *
 */
@FeignClient("SiteManagement-Service")
public interface IStationManageService {
	/**
	* @Title: getStationByProtocol
	* @Description: 根据协议数据ID获取站点信息
	* @param protocolDataId
	* @return    参数
	* @return ResultEntity    返回类型
	* @throws
	 */
	@RequestMapping(value = "SiteManagement-Service/outSide/stations", method = RequestMethod.GET)
	ResultEntity getStationByProtocol(@RequestParam("protocolDataId")String protocolDataId);
	/**
	* @Title: getEquipmentByInstructions
	* @Description: 根据指令ID获取设备信息
	* @param instructionsId
	* @return    参数
	* @return ResultEntity    返回类型
	* @throws
	 */
	@RequestMapping(value = "SiteManagement-Service/outSide/equipments", method = RequestMethod.GET)
	ResultEntity getEquipmentByInstructions(@RequestParam("instructionsId") String instructionsId);
}
